#coding:utf-8

import string
import re
import random

FH = ('!','@','#','$','%','&','_')
print(string.ascii_lowercase)
print(string.ascii_uppercase)

list = list(string.ascii_letters) + [ str(i) for i in range(10)]

for f in FH:
    list.append(f)

num = random.sample(list, 10)
str = ''
value = str.join(num)

if not value[0].isdigit():
    print(value)

print(string.ascii_letters)
string.digits